package cn.yotta.user.api.error;

import cn.yotta.common.api.exception.ErrorCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wyaoyao
 * @date 2022/11/8 10:41
 */
@AllArgsConstructor
@Getter
public enum LoginErrorCode implements ErrorCode {
    TOKEN_MUST_NOT_NULL("token.must.not.null", "token不能是空"),
    USER_NOT_FIND("user.not.find", "没有找到当前用户信息"),
    TOKEN_IS_EXPIRE("token.is.expired","用户Token过期"),
    ;

    private final String code;
    private final String message;

}
